package com.alan.designMode.mediator;

/**
 * Created by Alan on 17-9-4
 */
public class ConcreateMediator extends Mediator{
    @Override
    public void doSomething1() {
        //调用同事类的方法，只要是public方法可以调用
        super.c1.selfMethod1();
        super.c2.selfMethod2();

    }

    @Override
    public void doSomething2() {
        super.c1.selfMethod1();
        super.c2.selfMethod2();
    }
}
